#统计游戏信息

class GameStarts:
    def __init__(self, ai_game):
        self.settings = ai_game.settings
        self.high_score = 0 #最高分
        self.reset_stats()
        
    
    #初始化统计信息
    def reset_stats(self):
        self.ships_left = self.settings.ship_limit #剩余飞船数量
        self.score = 0 #得分
        self.level = 1 #游戏等级